Skip to main content

Goal Multi Choice

It must have choices and each choice must have a hoverBackgroundColor.

The choices of this step have three different states: not selected, hover, and selected. Each state needs a different design (colors and text colors).

The keys for these states are:

KeyStateNotes
typegoalMultiChoice
stepId
title
subtitle
textColor
backgroundColorThe step/screen’s bg color
innerBackgroundColorAdds an inner background to the step similar to the screenshot in the note below
ctaTexte.g. Continue
ctaColorThe cta text color
ctaBackgroundColorThe cta background color
bottomButtonTextColorbottomButtonTextColor, bottomViewColor, and bottomButtonColor are used when we want to give the cta a different style with a bottomView container.
Note: This design is only for mobile devices. Tablets and desktops take the design from ctaColor and ctaBackgroundColor.
"bottomButtonTextColor": "#00A37F",
"bottomViewColor": "#00A37F",
"bottomButtonColor": "white",
bottomViewColorThe cta container background color on mobile devices.
bottomButtonColorThe background color of the cta button on mobile devices.
choiceBackgroundColornormalbackground color of the choice
choiceTextColornormaltext color of the choice
hoverBackgroundColorhoverbackground color of the choice
selectedChoiceBackgroundColorselectedbackground color of the choice
selectedChoiceTextColorselectedtext color of the choice
checkboxBackgroundColornormalbackground color of the checkbox
selectedCheckboxBackgroundColorselectedthe background color of checkbox
selectedCheckboxMarkColorselectedOptional - the color of the checkmark when it’s selected.
selectModesinglemultiple
progressImageAn optional image to show a progress bar for the current multi-choice steps.
https://c.thefab.co/web-onboarding/fabulous/splash/flowchart/progress-bar-beige-3.svg
hideProgressBarBoolean. It can be used to hide the progress if needed.
backgroundImageStep’s background image on Mobile - optional
desktopBackgroundStep’s background image on Desktop - optional
riveOverlaycheck [Rive Intro Overlay](Components/Rive Intro Overlay) for more info

[!IMPORTANT] Note:

The choices accept iconUrl to add small icons to the choice.

Example of a multi-choice step
 {
"stepId": "biggest_obstacles",
"key": "joyful_happy",
"type": "goalMultiChoice",
"title": "What are the biggest obstacles holding you back from building the life you desire?",
"subtitle": "This is a short subtitle",
"backgroundColor": "#0E0B2F",
"ctaBackgroundColor": "#00CC9F",
"ctaColor": "#fff",
"textColor": "#fff",
"ctaText": "Continue",
"choiceBackgroundColor": "#47329C",
"choiceTextColor": "#fff",
"hoverBackgroundColor": "#2A1B66",
"hoverTextColor": "#fff",
"selectedChoiceBackgroundColor": "#fff",
"selectedChoiceTextColor": "#0E0B2F",
"checkboxBackgroundColor": "#A18DF0",
"selectedCheckboxBackgroundColor": "#00CC9F",
"bottomViewColor": "#4C3DC0",
"bottomButtonTextColor": "#0E0B2F",
"bottomButtonColor": "#fff",
"choices": [
{
"value": "procrastination",
"name": "Procrastination"
},
{
"value": "self_limiting_beliefs",
"name": "Self-limiting beliefs"
},
{
"value": "Too many things on my plate",
"name": "Too many things on my plate"
},
{
"value": "Lack of inspiration or motivation",
"name": "Lack of inspiration or motivation"
},
{
"value": "Lack of structure",
"name": "Lack of structure"
},
{
"value": "Distress & grief",
"name": "Distress & grief"
},
{
"value": "Imposter syndrome, Not-feeling enough",
"name": "Imposter syndrome, Not-feeling enough"
},
{
"value": "I want everything to be perfect",
"name": "I want everything to be perfect"
},
{
"value": "Lack of self-discipline",
"name": "Lack of self-discipline"
},
{
"value": "Distractions",
"name": "Distractions"
}
]
},

An example of a progress bar at the top of the step:

Screenshot 2024-06-14 at 11.09.37 AM.png